package cn.legend.travel.admin.content.dao.persist.mapper;

import cn.legend.travel.admin.content.pojo.entity.Guide;
import cn.legend.travel.admin.content.pojo.vo.GuideCheckVO;
import cn.legend.travel.admin.content.pojo.vo.GuideDetailVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GuideMapper extends BaseMapper<Guide> {

    List<GuideCheckVO> list();

    GuideDetailVO getDetail(Long id);

    int create(Guide guide);
}
